package com.zhentao.controller;

import com.zhentao.model.common.dtos.ResponseResult;
import com.zhentao.service.ChargingStationCollectionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/auth/core")
public class ChargeStationCollectionController {
    @Autowired
    private ChargingStationCollectionService chargingStationCollectionService;

    @GetMapping("/myCollection")
    public ResponseResult getMyCollection(){
        return chargingStationCollectionService.getMyCollection();
    }
}
